<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改用户收藏')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-busUserCollect-edit" th:object="${busUserCollect}">
            <input id="collectId" name="collectId" th:field="*{collectId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">收藏类型（01新闻/02资源/03资源需求）：</label>
				<div class="col-sm-8">
					<input id="collectType" name="collectType" th:field="*{collectType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">收藏人id：</label>
				<div class="col-sm-8">
					<input id="collectUserId" name="collectUserId" th:field="*{collectUserId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">收藏人名称：</label>
				<div class="col-sm-8">
					<input id="collectUserName" name="collectUserName" th:field="*{collectUserName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">收藏时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/busUserCollect";
		$("#form-busUserCollect-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-busUserCollect-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
